// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:00

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   l6.java

package com.zelix;

import java.io.IOException;
import java.util.*;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;

// Referenced classes of package com.zelix:
//            rb, hc, zx, ay, 
//            by, r0, s0, t0, 
//            u0, q6, v0, w0, 
//            bs, w6, tb, yg

final class l6
{

    private static final String a = System.getProperty(z(z("07L^=%;PZa7*OI")));
    bs b;
    hc c[];
    private HashSet d;
    Vector e;
    Hashtable f;
    private yg g;
    private static String z[];

    l6(hc ahc[], HashSet hashset, Enumeration enumeration, yg yg, bs bs1, HashMap hashmap, HashMap hashmap1, 
            HashMap hashmap2)
    {
        e = new Vector();
        f = new Hashtable();
        c = ahc;
        d = hashset;
        g = yg;
        b = bs1;
        try
        {
            b();
            a(enumeration, hashmap);
            a(hashmap, hashmap1, hashmap2);
        }
        finally
        {
            a();
        }
    }

    private void a(HashMap hashmap, HashMap hashmap1, HashMap hashmap2)
    {
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        enumeration = f.keys();
        if(!flag) goto _L2; else goto _L1
_L1:
        hc hc1;
        String s;
        ZipFile zipfile;
        Enumeration enumeration1;
        hc1 = (hc)enumeration.nextElement();
        s = hc1.f();
        zipfile = (ZipFile)f.get(hc1);
        enumeration1 = zipfile.entries();
        if(!flag) goto _L4; else goto _L3
_L3:
        ZipEntry zipentry = (ZipEntry)enumeration1.nextElement();
        String s1 = zipentry.getName();
        if(d != null && d.contains(hc1) && !flag || s1.endsWith(z[24]) || hc.b(s1))
            continue; /* Loop/switch isn't completed */
        String s2 = s1.toUpperCase();
        String s3 = s1.toLowerCase();
        if(!zipentry.isDirectory() && s2.equals(z[27]))
        {
            ay ay1 = hc1.a();
            ay1.a(s, hashmap, hashmap2);
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s2.startsWith(z[20].toUpperCase()) && s1.length() > zx.a)
        {
            try
            {
                zx zx1 = new zx(zipfile, zipentry);
                zx1.a(s, hashmap);
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception)
            {
                b.b(z[25], z[7] + s + z[1] + ioexception);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s1.equalsIgnoreCase(z[12]))
        {
            try
            {
                t0 t0_1 = new t0(s1, g);
                new q6(zipfile, zipentry, g, t0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb1)
            {
                b.b(z[25], z[8] + s + z[1] + rb1.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception1)
            {
                b.b(z[25], z[10] + s + z[1] + ioexception1);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s1.equalsIgnoreCase(z[19]))
        {
            try
            {
                r0 r0_1 = new r0(s1, g);
                new q6(zipfile, zipentry, g, r0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb2)
            {
                b.b(z[25], z[29] + s1 + z[17] + s + z[1] + rb2.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception2)
            {
                b.b(z[25], z[6] + s1 + z[17] + s + z[1] + ioexception2);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s1.equalsIgnoreCase(z[26]))
        {
            try
            {
                s0 s0_1 = new s0(s1, g);
                new q6(zipfile, zipentry, g, s0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb3)
            {
                b.b(z[25], z[23] + s1 + z[17] + s + z[1] + rb3.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception3)
            {
                b.b(z[25], z[14] + s1 + z[17] + s + z[1] + ioexception3);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s1.equalsIgnoreCase(z[11]))
        {
            try
            {
                w0 w0_1 = new w0(s1, g);
                new q6(zipfile, zipentry, g, w0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb4)
            {
                b.b(z[25], z[22] + s1 + z[17] + s + z[1] + rb4.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception4)
            {
                b.b(z[25], z[9] + s1 + z[17] + s + z[1] + ioexception4);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s3.endsWith(z[15]))
        {
            try
            {
                u0 u0_1 = new u0(s1, g);
                new q6(zipfile, zipentry, g, u0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb5)
            {
                b.b(z[25], z[16] + s1 + z[17] + s + z[1] + rb5.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception5)
            {
                b.b(z[25], z[28] + s1 + z[17] + s + z[1] + ioexception5);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        if(!zipentry.isDirectory() && s3.endsWith(z[13]))
        {
            try
            {
                v0 v0_1 = new v0(s1, g);
                new q6(zipfile, zipentry, g, v0_1, hashmap, hashmap1, hashmap2);
                continue; /* Loop/switch isn't completed */
            }
            catch(rb rb6)
            {
                b.b(z[25], z[21] + s1 + z[17] + s + z[1] + rb6.getMessage());
                continue; /* Loop/switch isn't completed */
            }
            catch(IOException ioexception6)
            {
                b.b(z[25], z[18] + s1 + z[17] + s + z[1] + ioexception6);
            }
            if(!flag)
                continue; /* Loop/switch isn't completed */
        }
        zipentry.isDirectory();
_L4:
        if(enumeration1.hasMoreElements()) goto _L3; else goto _L2
_L2:
        if(!enumeration.hasMoreElements())
            return;
        if(true) goto _L1; else goto _L5
_L5:
    }

    private void a(Enumeration enumeration, HashMap hashmap)
    {
        boolean flag = tb.b;
        if(enumeration == null) goto _L2; else goto _L1
_L1:
        if(!flag) goto _L4; else goto _L3
_L3:
        by by1 = (by)enumeration.nextElement();
        by1.a(by1.a(), hashmap);
_L4:
        if(enumeration.hasMoreElements()) goto _L3; else goto _L2
_L2:
    }

    private void a()
    {
        Enumeration enumeration;
        boolean flag;
        flag = tb.b;
        enumeration = f.elements();
        if(!flag) goto _L2; else goto _L1
_L1:
        ZipFile zipfile = (ZipFile)enumeration.nextElement();
        String s = zipfile.getName();
        try
        {
            zipfile.close();
        }
        catch(IOException ioexception)
        {
            b.d(z[0], z[2] + s + z[1] + ioexception.getMessage());
        }
_L2:
        if(!enumeration.hasMoreElements())
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }

    void b()
    {
        int i;
        boolean flag;
        flag = tb.b;
        i = 0;
        if(!flag) goto _L2; else goto _L1
_L1:
        if(c[i].j())
            e.addElement(c[i]);
        String s = c[i].b();
        try
        {
            w6 w6_1 = new w6(s);
            f.put(c[i], w6_1);
        }
        catch(IOException ioexception)
        {
            b.d(z[5], z[4] + s + z[3] + ioexception.getMessage());
        }
        i++;
_L2:
        if(i >= c.length)
            return;
        if(true) goto _L1; else goto _L3
_L3:
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x13;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x56;
                    break;
                case 1:
                    key = 94;
                    break;
                case 2:
                    key = 32;
                    break;
                case 3:
                    key =59;
                    break;
                default:
                    key = 19;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        String as[] = new String[30];
        as[0] = z(z("\020\027l~3\023\frtAvv\024\022"));
        as[1] = z(z("q~\032\033"));
        as[2] = z(z("\020\027l~3\023\frtAvv\024\0223q"));
        as[3] = z(z("qp\000\0013"));
        as[4] = z(z("\0251UWw8yT\033|&;N\0334"));
        as[5] = z(z("\020\027l~3\023\frtAvv\023\022"));
        as[6] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\37.PWz5?TR|8pXV\177v8IWvvy"));
        as[7] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\3%;RMz5;\000Ka9(I_v$~IU3q"));
        as[8] = z(z("\0370VZ\177?:\000^y4sJZax&MW3?0\000\034"));
        as[9] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\3!;B\025k;2\000]z:;\000\034"));
        as[10] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\334B\026y7,\016C~:~IU3q"));
        as[11] = z(z("\001\033b\026Z\030\030\017Lv4pXV\177"));
        as[12] = z(z("\033\033tz>\037\020f\024v<<\rQr$pXV\177"));
        as[13] = z(z("x*L_"));
        as[14] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\37.PWz5?TR|8sCWz30T\025k;2\000]z:;\000\034"));
        as[15] = z(z("x&MW"));
        as[16] = z(z("\0370VZ\177?:\000c^\032~FR\1773~\007"));
        as[17] = z(z("q~IU3q"));
        as[18] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\3\002\022d\033K\033\022\000]z:;\000\034"));
        as[19] = z(z("\033\033tz>\037\020f\024r&.LRp7*IT}x&MW"));
        as[20] = z(z("\033\033tz>\037\020f\024`3,VRp3-\017"));
        as[21] = z(z("\0370VZ\177?:\000o_\022~xv_v8IWvvy"));
        as[22] = z(z("\0370VZ\177?:\000Lv4pXV\177v8IWvvy"));
        as[23] = z(z("\0370VZ\177?:\000Zc&2IXr\"7OU>52I^}\"pXV\177v8IWvvy"));
        as[24] = z(z("x=LZ`%"));
        as[25] = z(z("\020\027l~3\023\frtAl"));
        as[26] = z(z("\033\033tz>\037\020f\024r&.LRp7*IT}{=LRv8*\016C~:"));
        as[27] = z(z("\033\033tz>\037\020f\024^\027\020i}V\005\n\016vU"));
        as[28] = z(z("\023,RTav,EZw?0G\033|$~WIz\"7N\\3\016\023l\033u?2E\0334"));
        as[29] = z(z("\0370VZ\177?:\000Zc&2IXr\"7OU=.3L\033u?2E\0334"));
        z = as;
    }
}